import torch

torch.random.manual_seed(20)
data = torch.randint(0,10,[2,3],dtype=torch.float64)
print(data)

# print(data.sum())
# print(data.sum(dim=0))
# print(data.sum(dim=1))

# print(data.mean())
# print(data.mean(dim=0))
# print(data.mean(dim=1))

# print(data.exp())
# print(torch.pow(data, 2))
# print(torch.pow(data, 0.5))
# print(data.sqrt())


print(data.log())
print(data.log2())
print(data.log10())
